package cn.study.luckyclient.api;

import cn.study.luckyclient.dto.ActivityAddCmd;
import cn.study.luckyclient.dto.ActivityUpdateCmd;
import cn.study.luckyclient.dto.data.ActivityVo;
import cn.study.luckyclient.dto.data.DrawResultVo;
import cn.study.luckyclient.dto.query.ActivityListByParamQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface IActivityService {
    ActivityVo add(ActivityAddCmd cmd);
    ActivityVo update(ActivityUpdateCmd cmd);
    IPage<ActivityVo> page(ActivityListByParamQuery query);
    ActivityVo one(Long id);
    DrawResultVo draw(Long activityId,Long userId);
}
